package gov.ccswj.modules.bdbusiness.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import gov.ccswj.modules.bdbusiness.dao.BKKnowledgeTaxrateDao;
import gov.ccswj.modules.bdbusiness.entity.BKKnowledgeTaxrateEntity;
import gov.ccswj.modules.bdbusiness.service.BKKnowledgeTaxrateService;



@Service("bKKnowledgeTaxrateService")
public class BKKnowledgeTaxrateServiceImpl implements BKKnowledgeTaxrateService {
	@Autowired
	private BKKnowledgeTaxrateDao bKKnowledgeTaxrateDao;
	
	@Override
	public BKKnowledgeTaxrateEntity queryObject(Integer id){
		return bKKnowledgeTaxrateDao.queryObject(id);
	}
	
	@Override
	public List<BKKnowledgeTaxrateEntity> queryList(Map<String, Object> map){
		return bKKnowledgeTaxrateDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return bKKnowledgeTaxrateDao.queryTotal(map);
	}
	
	@Override
	public void save(BKKnowledgeTaxrateEntity bKKnowledgeTaxrate){
		bKKnowledgeTaxrateDao.save(bKKnowledgeTaxrate);
	}
	
	@Override
	public void update(BKKnowledgeTaxrateEntity bKKnowledgeTaxrate){
		bKKnowledgeTaxrateDao.update(bKKnowledgeTaxrate);
	}
	
	@Override
	public void delete(Integer id){
		bKKnowledgeTaxrateDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		bKKnowledgeTaxrateDao.deleteBatch(ids);
	}
	
}
